export default [
  {
    path: '/',
    name: 'layout',
    component: () => import('@/App.vue'),
    children: [
      {
        path: '',  // 空路径表示默认子路由
        name: 'home',
        component: () => import('@/views/Home/index.vue')  // 确保路径正确
      },
      {
        path: 'about',
        name: 'about',
        component: () => import('@/views/About/index.vue')
      }
    ]
  }
]